//
//  SensorTagApplicationViewController.h
//
//  Created by Ole Andreas Torvmark on 9/25/12.
//  Copyright (c) 2012 Texas Instruments. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BLEDevice.h"
#import "BLEUtility.h"
#import "Sensors.h"

#import "UIView+MyToast.h"

#define MIN_ALPHA_FADE 0.2f
#define ALPHA_FADE_STEP 0.05f

@interface SensorTagApplicationViewController : UITableViewController <UIAlertViewDelegate>

@property NSArray *functionName; //功能名字,
-(id) initWithStyle:(UITableViewStyle)style;


- (IBAction) handleCalibrateMag;
- (IBAction) handleCalibrateGyro;

-(void) alphaFader:(NSTimer *)timer;

@end
